<?php
/**
 * @Author: user
 * @Date:   2020-08-21 09:41:58
 * @Last Modified by:   user
 * @Last Modified `time: 2020-08-21 10:55:04
 */
namespace plugins\goods\common;

/**
 * 跨域请求  行为  绑定在app/tags.php  中
 */
class GoodsHook
{
    public function run($uid, $params)
    {
        $class = "\\plugins\\goods\\model\\GoodsFootprintModel";
        if (class_exists($class) || method_exists($class, 'footprintOperation')) {
            $FOOT = new $class;
            $uid  = $FOOT->footprintOperation($uid, $params);
        }
    }
}
